FROM  docker.io/openjdk:8

MAINTAINER WenBin

VOLUME  /tmp

ARG JAR_FILE

ENV LANG C.UTF-8

COPY  ${JAR_FILE}    bbs-service.jar

LABEL version="1.0.0"

EXPOSE 14001

#ENV JAVA_OPTS=" -server -Xmx512m -Xms512m "
CMD  java -server -Xmx512m -Xms128m -jar bbs-service.jar
#ENTRYPOINT ["java","${JAVA_OPTS},"-jar" ,"eureka-service.jar"]
